package cn.yangtianxia.basic.query;

import lombok.Data;

@Data
public class BaseQuery {

    private Integer currentPage;

    private Integer pageSize;

    private String keyword;

    private Integer getStart(){
        return (this.currentPage - 1) * this.pageSize;
    }
}
